﻿using System.Collections.Generic;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;

namespace Joy.Erp.Ufida.Pmc
{
    public interface IProductionPlatformAppService
    {
        /// <summary>
        /// 获取需求订单分页列表
        /// </summary>
        Task<PagedResultDto<DemandOrderDto>> GetListAsync(GetDemandOrderPagedInput input);

        /// <summary>
        /// 更新单个需求订单
        /// </summary>
        Task<bool> UpdateDemandOrderAsync(UpdateDemandOrderInput input);

        /// <summary>
        /// 齐套分析
        /// </summary>
        Task<List<DemandOrderDto>> KitAnalysisAsync(KitInput input);

        /// <summary>
        /// 清除缓存
        /// </summary>
        Task ClearCacheAsync();
    }
}
